<?php
/*输出相册*/
include_once 'sql_connect.php'; 
$u_no = $_COOKIE['u_no'];

$photo_sql = mysql_query("select p_data from photo where u_no='$u_no'");
$photo_result = mysql_fetch_array($photo_sql);

if($photo_result){
	do{
	echo "$photo_result[p_data]";
	}while ($photo_result=mysql_fetch_array($photo_sql));
}

?>